return {
    "chrisgrieser/nvim-scissors",
    dependencies = "nvim-telescope/telescope.nvim", -- if using telescope
    cmd = { "ScissorsAddNewSnippet", "ScissorsEditSnippet" },
    keys = {
        { "<leader>spa", "<cmd>ScissorsAddNewSnippet<cr>", desc = "添加snippet", mode = { "v", "n" } },
        { "<leader>spe", "<cmd>ScissorsEditSnippet<cr>", desc = "编辑snippet", mode = { "n", "v" } },
    },
    opts = {},
    config = function()
        require("scissors").setup {
            snippetDir = vim.fn.stdpath "config" .. "/snippets",
            snippetSelection = {
                picker = "telescope", ---@type "auto"|"telescope"|"snacks"|"vim.ui.select"
            },

            -- `none` writes as a minified json file using `vim.encode.json`.
            -- `yq`/`jq` ensure formatted & sorted json files, which is relevant when
            -- you version control your snippets. To use a custom formatter, set to a
            -- list of strings, which will then be passed to `vim.system()`.
            -- TIP: `jq` is already pre-installed on newer versions of macOS.
            ---@type "yq"|"jq"|"none"|string[]
            jsonFormatter = "jq",
        }
    end,
}
